package com.xun.mapper;

import com.xun.bean.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Package: com.xun.mapper
 * @ClassName: UserMapper
 * @Author: Think
 * @CreateTime: 2021/6/15 15:53
 * @Description:
 */
@Repository
public interface UserMapper {

    public List<User> listUsers();

    public List<User> getUserById(String userId);

    public Integer addUser(User user);

    public Integer deleteUserById(String userId);

    public Integer updateUserNameById(User user);
}
